package com.example.demo.service;

import com.example.demo.entity.SystemLog;
import com.example.demo.mapper.LogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LogService {
    @Resource
    private LogMapper logMapper;

    public List<SystemLog> getLogList() {
        return logMapper.getLogList();
    }
}
